﻿using StockNet.stocks.yahoo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StockNet.stocks.yahoo
{
    public class YahooStocksClient : IStocksClient
    {
        public string GetStockSymbol(string companyName)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<StockRecord> GetStockDetails(params string[] stockSymbols)
        {
            throw new NotImplementedException();
        }

        public async Task<IEnumerable<StockQuote>> GetStockValues(params string[] stockSymbol)
        {
            var query = new YahooFinanceStockQuery();
            var results = await query.GetStockQuotes(stockSymbol);
            return results;
        }
    }
}
